package com.itheima.dao;

import com.itheima.pojo.CheckGroup;
import com.itheima.pojo.Package;
import org.apache.ibatis.annotations.Param;

import java.util.Date;
import java.util.List;
import java.util.Map;

public interface PackageDao {
    /**
     * 查询检查组信息
     * @return
     */
    List<CheckGroup> findAll();

    void addByPackageAndCheckgroup(@Param("setmeal_id") Integer setmeal_id,@Param("checkgroupId") Integer checkgroupId);

    void add(Package packages);

    List<Package> findPage(String queryString);

    List<String> findAllPackageName();

    List<Map<String,Object>> finAllPackageCount();

    List<Map<String, Object>> findMemberSexCount();

    List<Date> findMemberAgeCount();
}
